Libyang is a YANG data modelling language parser and toolkit written 
(and providing API) in C.
